package com.stylefeng.guns.crawlers.okooo.model;

import cn.wanghaomiao.seimi.annotation.Xpath;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Xpath语法可以参考 http://jsoupxpath.wanghaomiao.cn/
 *
 * @author wuchong
 * @since 2018/08/24.
 */
public class OkoooGameContent {
    private Integer id;

    @Xpath("//div[@class='touzhu_1']/@data-mid")
    private String mid;

    @Xpath("//div[@class='liansai']/a/text()")
    private String title;

    @Xpath("//div[@class=\"rangqiuspf \"]//div[@class=\"zhu \"]//div[@class='zhum fff hui_colo']/@title")
    private String zhud;

    @Xpath("//div[@class=\"rangqiuspf \"]//div[@class=\"fu \"]//div[@class=\"zhum fff hui_colo\"]/@title")
    private String ked;

    @Xpath("//div[@class='shijian']/@title")
    private String time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getZhud() {
        return zhud;
    }

    public void setZhud(String zhud) {
        this.zhud = zhud;
    }

    public String getKed() {
        return ked;
    }

    public void setKed(String ked) {
        this.ked = ked;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
